package ee.videorentalstore.protocols.commands;

import ee.videorentalstore.UserAndProtocolManager;

public class GiveCurrentProtocolInformationCommand extends Command
{
	@Override
	public String getCommandDescription() 
	{
		return "GIVE INFORMATION ABOUT CURRENT PROTOCOL";
	}
	
	
	@Override
	public void executeCommand(String inputStreamInstructionsToProcess) 
	{
		System.out.println("Current protocol running is: " + 
				UserAndProtocolManager.getInstance().getProtocolInUse().getClass().getName());
	}
}
